'''
Created on Jun 7, 2013

@author: Petko
'''
from utils.sententialyzer_client import SententialyzerClient
import json
from opinion import check_opinion_tree
import unittest

class GetSingleOpinionsTest(unittest.TestCase):
    def test_get_single_op(self):
        self.sc = SententialyzerClient()
        self.sc.commit_pending_ops()
        #res = self.sc.getOpSimple("00000000-0000-0000-0000-000000000258", "oldest", max_subopinions=100)
    
    
        #print json.dumps(res);
        
        check_opinion_tree(self, "00000000-0000-0000-0000-0000000002db")
        
if __name__ == '__main__':
    unittest.main()